projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3b2840
)
stylecontext: add a raised style class
author
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 8 Mar 2011 22:08:03 +0000
(17:08 -0500)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 9 Mar 2011 01:05:30 +0000
(20:05 -0500)
This is useful for raised elements, for example raised buttons on
primary toolbars.
https://bugzilla.gnome.org/show_bug.cgi?id=644248
gtk/gtkstylecontext.h
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.h
b/gtk/gtkstylecontext.h
index ac0f12f2685f07292a8a95da5cbdf66e41fb6b3e..805f787fd6172a39cfdf552dcf3bc5fffeaba1ee 100644
(file)
--- a/
gtk/gtkstylecontext.h
+++ b/
gtk/gtkstylecontext.h
@@
-315,6
+315,14
@@
struct _GtkStyleContextClass
*/
#define GTK_STYLE_CLASS_ACCELERATOR "accelerator"
+/**
+ * GTK_STYLE_CLASS_RAISED:
+ *
+ * A CSS class to match a raised control, such as a raised
+ * button on a toolbar.
+ */
+#define GTK_STYLE_CLASS_RAISED "raised"
+
/**
* GTK_STYLE_CLASS_GRIP:
*